import Vue from 'vue'
import App from './App.vue'
import router from './router'
import axios from 'axios'
import VueAxios from 'vue-axios'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';


Vue.config.productionTip = false;

// 定义ajax请求的baseUrl
axios.defaults.baseURL = 'http://127.0.0.1:9000';

Vue.use(VueAxios, axios);
Vue.use(ElementUI);

new Vue({
  router,
  render: h => h(App)
}).$mount('#app');
